Computer Science for IGCSE & O level - Programming (Section 5 - No. 26)
What is the primary purpose of a function in programming?
To store data.
To organize code into reusable blocks.
To perform calculations automatically.
To control the flow of execution.
Vysvětlení
Functions allow modularity and code reuse.
